package com.campusbackend.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.time.LocalDate;

/**
 * 参赛经历创建VO
 */
@Data
@Schema(name = "CompetitionCreateVO", description = "参赛经历创建VO")
public class CompetitionCreateVO {
    
    @Schema(description = "比赛名称")
    @NotBlank(message = "比赛名称不能为空")
    private String competitionName;
    
    @Schema(description = "比赛级别")
    private String competitionLevel;
    
    @Schema(description = "参与角色")
    private String participationRole;
    
    @Schema(description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate startTime;
    
    @Schema(description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate endTime;
    
    @Schema(description = "参赛结果")
    private String result;
    
    @Schema(description = "经历描述")
    private String description;
} 